package com.biboheart.adapter.compiler.enums;

import com.biboheart.adapter.support.BaseEnum;

public enum BufferType implements BaseEnum<String, String> {
    BUFFER_COMMAND("command", "指令"),
    BUFFER_CHARACTER("character", "符号"),
    BUFFER_NUMBER("number", "数值"),
    BUFFER_STRING("string", "字符串"),
    BUFFER_CHARS("chars", "字符串"),
    ;

    private final String code;
    private final String desc;

    BufferType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String code() {
        return code;
    }

    @Override
    public String desc() {
        return desc;
    }
}
